<?php $this->load->view('tourism/layout/header') ?>
<div class="all-orders page1">
    <header class="classify-head">
        <div class="classify-lefthead">
            <div class="classify-input Toprev">请输入搜索词<i class="iconfont icon-sousuo"></i></div>
        </div>
        <?php $this->load->view('tourism/layout/nav'); ?>
    </header>
    <div class="widthMax classify-text">
        <div class="classify-box">
            <div class="page2-waper classify-left">
                <div class="classify-isory">
                    <ul>
                        <?php foreach($category->result() as $key=>$value): ?>
                        <li class="<?php if($key == 0){echo 'active';}?> category-parent" data-id="<?php echo $value->id ?>" >
                            <a href="javascript:;"><?php echo $value->name?></a>
                        </li>
                        <?php endforeach ?>
                    </ul>
                </div>
            </div>
            <div class="sort-waper classify-right">
                <div class="classify-isory" id="category-children">
                    <?php $this->load->view('tourism/category/ajaxcategory') ?>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $this->load->view('tourism/layout/search') ?>
<?php $this->load->view('tourism/layout/footer') ?>